package com.housekeeping.housekeeping.advertisingmanagement.entity;/*
 * @author  pyh
 * @date  2021/1/22 0022 下午 7:43
 * @version 1.0
 * @since JDK1.8_241
 */

import java.io.Serializable;
import java.util.Date;

//商品实体类
public class Product implements Serializable {
    private Integer id;//id
    private Integer number;//商品编号
    private String name;//商品名称
    private Double price;//商品价格
    private String norms;//商品规格
    private Integer stock;//商品库存
    private Integer status;//状态值，0表示已上架 1 表示已下架
    private Date time;//添加时间

    public Product() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getNorms() {
        return norms;
    }

    public void setNorms(String norms) {
        this.norms = norms;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
